package com.lanling.educenter.client;

import com.lanling.educenter.other.R;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * @author 胡振华
 * @date 2021-05-09 21:15
 */
@Component
public class OrderDegradeFeignClient implements OrderClient{


    //出错了之后会执行
    @Override
    public R getOrdersByUserId(HttpServletRequest request) {
        return R.error().data("isSuccess",false);
    }
}